﻿// 麻省理工学院许可证
//
// 版权所有 (c) 2021-2023 zuohuaijun，大名科技（天津）有限公司  联系电话/微信：18020030720  QQ：515096995
//
// 特此免费授予获得本软件的任何人以处理本软件的权利，但须遵守以下条件：在所有副本或重要部分的软件中必须包括上述版权声明和本许可声明。
//
// 软件按“原样”提供，不提供任何形式的明示或暗示的保证，包括但不限于对适销性、适用性和非侵权的保证。
// 在任何情况下，作者或版权持有人均不对任何索赔、损害或其他责任负责，无论是因合同、侵权或其他方式引起的，与软件或其使用或其他交易有关。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Jim.OA;

[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")]
public partial class WorkflowServicePortTypeClient : System.ServiceModel.ClientBase<WorkflowServicePortType>, WorkflowServicePortType
{

    /// <summary>
    /// 实现此分部方法，配置服务终结点。
    /// </summary>
    /// <param name="serviceEndpoint">要配置的终结点</param>
    /// <param name="clientCredentials">客户端凭据</param>
    static partial void ConfigureEndpoint(System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Description.ClientCredentials clientCredentials);

    public WorkflowServicePortTypeClient() :
            base(WorkflowServicePortTypeClient.GetDefaultBinding(), WorkflowServicePortTypeClient.GetDefaultEndpointAddress())
    {
        this.Endpoint.Name = EndpointConfiguration.WorkflowServiceHttpPort.ToString();
        ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
    }

    public WorkflowServicePortTypeClient(EndpointConfiguration endpointConfiguration) :
            base(WorkflowServicePortTypeClient.GetBindingForEndpoint(endpointConfiguration), WorkflowServicePortTypeClient.GetEndpointAddress(endpointConfiguration))
    {
        this.Endpoint.Name = endpointConfiguration.ToString();
        ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
    }

    public WorkflowServicePortTypeClient(EndpointConfiguration endpointConfiguration, string remoteAddress) :
            base(WorkflowServicePortTypeClient.GetBindingForEndpoint(endpointConfiguration), new System.ServiceModel.EndpointAddress(remoteAddress))
    {
        this.Endpoint.Name = endpointConfiguration.ToString();
        ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
    }

    public WorkflowServicePortTypeClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
            base(WorkflowServicePortTypeClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
    {
        this.Endpoint.Name = endpointConfiguration.ToString();
        ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
    }

    public WorkflowServicePortTypeClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
            base(binding, remoteAddress)
    {
    }

    public WorkflowRequestInfo getWorkflowRequest(int in0, int in1, int in2)
    {
        return base.Channel.getWorkflowRequest(in0, in1, in2);
    }

    public System.Threading.Tasks.Task<WorkflowRequestInfo> getWorkflowRequestAsync(int in0, int in1, int in2)
    {
        return base.Channel.getWorkflowRequestAsync(in0, in1, in2);
    }

    public WorkflowRequestInfo[] getHendledWorkflowRequestList(int in0, int in1, int in2, int in3, ArrayOfString in4)
    {
        return base.Channel.getHendledWorkflowRequestList(in0, in1, in2, in3, in4);
    }

    public System.Threading.Tasks.Task<WorkflowRequestInfo[]> getHendledWorkflowRequestListAsync(int in0, int in1, int in2, int in3, ArrayOfString in4)
    {
        return base.Channel.getHendledWorkflowRequestListAsync(in0, in1, in2, in3, in4);
    }

    public WorkflowRequestInfo getWorkflowRequest4split(int in0, int in1, int in2, int in3)
    {
        return base.Channel.getWorkflowRequest4split(in0, in1, in2, in3);
    }

    public System.Threading.Tasks.Task<WorkflowRequestInfo> getWorkflowRequest4splitAsync(int in0, int in1, int in2, int in3)
    {
        return base.Channel.getWorkflowRequest4splitAsync(in0, in1, in2, in3);
    }

    public string submitWorkflowRequest(WorkflowRequestInfo in0, int in1, int in2, string in3, string in4)
    {
        return base.Channel.submitWorkflowRequest(in0, in1, in2, in3, in4);
    }

    public System.Threading.Tasks.Task<string> submitWorkflowRequestAsync(WorkflowRequestInfo in0, int in1, int in2, string in3, string in4)
    {
        return base.Channel.submitWorkflowRequestAsync(in0, in1, in2, in3, in4);
    }

    public int getMyWorkflowRequestCount4OS(int in0, ArrayOfString in1, bool in2)
    {
        return base.Channel.getMyWorkflowRequestCount4OS(in0, in1, in2);
    }

    public System.Threading.Tasks.Task<int> getMyWorkflowRequestCount4OSAsync(int in0, ArrayOfString in1, bool in2)
    {
        return base.Channel.getMyWorkflowRequestCount4OSAsync(in0, in1, in2);
    }

    public WorkflowRequestInfo[] getCCWorkflowRequestList4OS(int in0, int in1, int in2, int in3, ArrayOfString in4, bool in5)
    {
        return base.Channel.getCCWorkflowRequestList4OS(in0, in1, in2, in3, in4, in5);
    }

    public System.Threading.Tasks.Task<WorkflowRequestInfo[]> getCCWorkflowRequestList4OSAsync(int in0, int in1, int in2, int in3, ArrayOfString in4, bool in5)
    {
        return base.Channel.getCCWorkflowRequestList4OSAsync(in0, in1, in2, in3, in4, in5);
    }

    public string getLeaveDays(string in0, string in1, string in2, string in3, string in4)
    {
        return base.Channel.getLeaveDays(in0, in1, in2, in3, in4);
    }

    public System.Threading.Tasks.Task<string> getLeaveDaysAsync(string in0, string in1, string in2, string in3, string in4)
    {
        return base.Channel.getLeaveDaysAsync(in0, in1, in2, in3, in4);
    }

    public WorkflowRequestInfo[] getHendledWorkflowRequestList4Ofs(int in0, int in1, int in2, int in3, ArrayOfString in4, bool in5)
    {
        return base.Channel.getHendledWorkflowRequestList4Ofs(in0, in1, in2, in3, in4, in5);
    }

    public System.Threading.Tasks.Task<WorkflowRequestInfo[]> getHendledWorkflowRequestList4OfsAsync(int in0, int in1, int in2, int in3, ArrayOfString in4, bool in5)
    {
        return base.Channel.getHendledWorkflowRequestList4OfsAsync(in0, in1, in2, in3, in4, in5);
    }

    public WorkflowBaseInfo[] getCreateWorkflowList(int in0, int in1, int in2, int in3, int in4, ArrayOfString in5)
    {
        return base.Channel.getCreateWorkflowList(in0, in1, in2, in3, in4, in5);
    }

    public System.Threading.Tasks.Task<WorkflowBaseInfo[]> getCreateWorkflowListAsync(int in0, int in1, int in2, int in3, int in4, ArrayOfString in5)
    {
        return base.Channel.getCreateWorkflowListAsync(in0, in1, in2, in3, in4, in5);
    }

    public int getProcessedWorkflowRequestCount(int in0, ArrayOfString in1)
    {
        return base.Channel.getProcessedWorkflowRequestCount(in0, in1);
    }

    public System.Threading.Tasks.Task<int> getProcessedWorkflowRequestCountAsync(int in0, ArrayOfString in1)
    {
        return base.Channel.getProcessedWorkflowRequestCountAsync(in0, in1);
    }

    public string doCreateRequest(WorkflowRequestInfo in0, int in1)
    {
        return base.Channel.doCreateRequest(in0, in1);
    }

    public System.Threading.Tasks.Task<string> doCreateRequestAsync(WorkflowRequestInfo in0, int in1)
    {
        return base.Channel.doCreateRequestAsync(in0, in1);
    }

    public string doCreateWorkflowRequest(WorkflowRequestInfo in0, int in1)
    {
        return base.Channel.doCreateWorkflowRequest(in0, in1);
    }

    public System.Threading.Tasks.Task<string> doCreateWorkflowRequestAsync(WorkflowRequestInfo in0, int in1)
    {
        return base.Channel.doCreateWorkflowRequestAsync(in0, in1);
    }

    public int getToDoWorkflowRequestCount4OS(int in0, ArrayOfString in1, bool in2)
    {
        return base.Channel.getToDoWorkflowRequestCount4OS(in0, in1, in2);
    }

    public System.Threading.Tasks.Task<int> getToDoWorkflowRequestCount4OSAsync(int in0, ArrayOfString in1, bool in2)
    {
        return base.Channel.getToDoWorkflowRequestCount4OSAsync(in0, in1, in2);
    }

    public string doForceOver(int in0, int in1)
    {
        return base.Channel.doForceOver(in0, in1);
    }

    public System.Threading.Tasks.Task<string> doForceOverAsync(int in0, int in1)
    {
        return base.Channel.doForceOverAsync(in0, in1);
    }

    public WorkflowRequestInfo[] getProcessedWorkflowRequestList(int in0, int in1, int in2, int in3, ArrayOfString in4)
    {
        return base.Channel.getProcessedWorkflowRequestList(in0, in1, in2, in3, in4);
    }

    public System.Threading.Tasks.Task<WorkflowRequestInfo[]> getProcessedWorkflowRequestListAsync(int in0, int in1, int in2, int in3, ArrayOfString in4)
    {
        return base.Channel.getProcessedWorkflowRequestListAsync(in0, in1, in2, in3, in4);
    }

    public WorkflowRequestInfo getCreateWorkflowRequestInfo(int in0, int in1)
    {
        return base.Channel.getCreateWorkflowRequestInfo(in0, in1);
    }

    public System.Threading.Tasks.Task<WorkflowRequestInfo> getCreateWorkflowRequestInfoAsync(int in0, int in1)
    {
        return base.Channel.getCreateWorkflowRequestInfoAsync(in0, in1);
    }

    public WorkflowBaseInfo[] getCreateWorkflowTypeList(int in0, int in1, int in2, int in3, ArrayOfString in4)
    {
        return base.Channel.getCreateWorkflowTypeList(in0, in1, in2, in3, in4);
    }

    public System.Threading.Tasks.Task<WorkflowBaseInfo[]> getCreateWorkflowTypeListAsync(int in0, int in1, int in2, int in3, ArrayOfString in4)
    {
        return base.Channel.getCreateWorkflowTypeListAsync(in0, in1, in2, in3, in4);
    }

    public int getHendledWorkflowRequestCount4Ofs(int in0, ArrayOfString in1, bool in2)
    {
        return base.Channel.getHendledWorkflowRequestCount4Ofs(in0, in1, in2);
    }

    public System.Threading.Tasks.Task<int> getHendledWorkflowRequestCount4OfsAsync(int in0, ArrayOfString in1, bool in2)
    {
        return base.Channel.getHendledWorkflowRequestCount4OfsAsync(in0, in1, in2);
    }

    public WorkflowRequestInfo[] getMyWorkflowRequestList4OS(int in0, int in1, int in2, int in3, ArrayOfString in4, bool in5)
    {
        return base.Channel.getMyWorkflowRequestList4OS(in0, in1, in2, in3, in4, in5);
    }

    public System.Threading.Tasks.Task<WorkflowRequestInfo[]> getMyWorkflowRequestList4OSAsync(int in0, int in1, int in2, int in3, ArrayOfString in4, bool in5)
    {
        return base.Channel.getMyWorkflowRequestList4OSAsync(in0, in1, in2, in3, in4, in5);
    }

    public WorkflowRequestInfo[] getProcessedWorkflowRequestList4OS(int in0, int in1, int in2, int in3, ArrayOfString in4, bool in5)
    {
        return base.Channel.getProcessedWorkflowRequestList4OS(in0, in1, in2, in3, in4, in5);
    }

    public System.Threading.Tasks.Task<WorkflowRequestInfo[]> getProcessedWorkflowRequestList4OSAsync(int in0, int in1, int in2, int in3, ArrayOfString in4, bool in5)
    {
        return base.Channel.getProcessedWorkflowRequestList4OSAsync(in0, in1, in2, in3, in4, in5);
    }

    public int getForwardWorkflowRequestCount(int in0, ArrayOfString in1)
    {
        return base.Channel.getForwardWorkflowRequestCount(in0, in1);
    }

    public System.Threading.Tasks.Task<int> getForwardWorkflowRequestCountAsync(int in0, ArrayOfString in1)
    {
        return base.Channel.getForwardWorkflowRequestCountAsync(in0, in1);
    }

    public int getToDoWorkflowRequestCount(int in0, ArrayOfString in1)
    {
        return base.Channel.getToDoWorkflowRequestCount(in0, in1);
    }

    public System.Threading.Tasks.Task<int> getToDoWorkflowRequestCountAsync(int in0, ArrayOfString in1)
    {
        return base.Channel.getToDoWorkflowRequestCountAsync(in0, in1);
    }

    public string givingOpinions(int in0, int in1, string in2)
    {
        return base.Channel.givingOpinions(in0, in1, in2);
    }

    public System.Threading.Tasks.Task<string> givingOpinionsAsync(int in0, int in1, string in2)
    {
        return base.Channel.givingOpinionsAsync(in0, in1, in2);
    }

    public WorkflowRequestInfo[] getCCWorkflowRequestList(int in0, int in1, int in2, int in3, ArrayOfString in4)
    {
        return base.Channel.getCCWorkflowRequestList(in0, in1, in2, in3, in4);
    }

    public System.Threading.Tasks.Task<WorkflowRequestInfo[]> getCCWorkflowRequestListAsync(int in0, int in1, int in2, int in3, ArrayOfString in4)
    {
        return base.Channel.getCCWorkflowRequestListAsync(in0, in1, in2, in3, in4);
    }

    public int getProcessedWorkflowRequestCount4OS(int in0, ArrayOfString in1, bool in2)
    {
        return base.Channel.getProcessedWorkflowRequestCount4OS(in0, in1, in2);
    }

    public System.Threading.Tasks.Task<int> getProcessedWorkflowRequestCount4OSAsync(int in0, ArrayOfString in1, bool in2)
    {
        return base.Channel.getProcessedWorkflowRequestCount4OSAsync(in0, in1, in2);
    }

    public int getBeRejectWorkflowRequestCount(int in0, ArrayOfString in1)
    {
        return base.Channel.getBeRejectWorkflowRequestCount(in0, in1);
    }

    public System.Threading.Tasks.Task<int> getBeRejectWorkflowRequestCountAsync(int in0, ArrayOfString in1)
    {
        return base.Channel.getBeRejectWorkflowRequestCountAsync(in0, in1);
    }

    public string forward2WorkflowRequest(int in0, string in1, string in2, int in3, string in4)
    {
        return base.Channel.forward2WorkflowRequest(in0, in1, in2, in3, in4);
    }

    public System.Threading.Tasks.Task<string> forward2WorkflowRequestAsync(int in0, string in1, string in2, int in3, string in4)
    {
        return base.Channel.forward2WorkflowRequestAsync(in0, in1, in2, in3, in4);
    }

    public WorkflowRequestInfo[] getAllWorkflowRequestList(int in0, int in1, int in2, int in3, ArrayOfString in4)
    {
        return base.Channel.getAllWorkflowRequestList(in0, in1, in2, in3, in4);
    }

    public System.Threading.Tasks.Task<WorkflowRequestInfo[]> getAllWorkflowRequestListAsync(int in0, int in1, int in2, int in3, ArrayOfString in4)
    {
        return base.Channel.getAllWorkflowRequestListAsync(in0, in1, in2, in3, in4);
    }

    public WorkflowRequestInfo[] getToDoWorkflowRequestList(int in0, int in1, int in2, int in3, ArrayOfString in4)
    {
        return base.Channel.getToDoWorkflowRequestList(in0, in1, in2, in3, in4);
    }

    public System.Threading.Tasks.Task<WorkflowRequestInfo[]> getToDoWorkflowRequestListAsync(int in0, int in1, int in2, int in3, ArrayOfString in4)
    {
        return base.Channel.getToDoWorkflowRequestListAsync(in0, in1, in2, in3, in4);
    }

    public int getCCWorkflowRequestCount4OS(int in0, ArrayOfString in1, bool in2)
    {
        return base.Channel.getCCWorkflowRequestCount4OS(in0, in1, in2);
    }

    public System.Threading.Tasks.Task<int> getCCWorkflowRequestCount4OSAsync(int in0, ArrayOfString in1, bool in2)
    {
        return base.Channel.getCCWorkflowRequestCount4OSAsync(in0, in1, in2);
    }

    public int getHendledWorkflowRequestCount(int in0, ArrayOfString in1)
    {
        return base.Channel.getHendledWorkflowRequestCount(in0, in1);
    }

    public System.Threading.Tasks.Task<int> getHendledWorkflowRequestCountAsync(int in0, ArrayOfString in1)
    {
        return base.Channel.getHendledWorkflowRequestCountAsync(in0, in1);
    }

    public WorkflowRequestInfo[] getToDoWorkflowRequestList4OS(int in0, int in1, int in2, int in3, ArrayOfString in4, bool in5)
    {
        return base.Channel.getToDoWorkflowRequestList4OS(in0, in1, in2, in3, in4, in5);
    }

    public System.Threading.Tasks.Task<WorkflowRequestInfo[]> getToDoWorkflowRequestList4OSAsync(int in0, int in1, int in2, int in3, ArrayOfString in4, bool in5)
    {
        return base.Channel.getToDoWorkflowRequestList4OSAsync(in0, in1, in2, in3, in4, in5);
    }

    public int getToBeReadWorkflowRequestCount(int in0, ArrayOfString in1, bool in2)
    {
        return base.Channel.getToBeReadWorkflowRequestCount(in0, in1, in2);
    }

    public System.Threading.Tasks.Task<int> getToBeReadWorkflowRequestCountAsync(int in0, ArrayOfString in1, bool in2)
    {
        return base.Channel.getToBeReadWorkflowRequestCountAsync(in0, in1, in2);
    }

    public int getCreateWorkflowCount(int in0, int in1, ArrayOfString in2)
    {
        return base.Channel.getCreateWorkflowCount(in0, in1, in2);
    }

    public System.Threading.Tasks.Task<int> getCreateWorkflowCountAsync(int in0, int in1, ArrayOfString in2)
    {
        return base.Channel.getCreateWorkflowCountAsync(in0, in1, in2);
    }

    public string forwardWorkflowRequest(int in0, string in1, string in2, int in3, string in4)
    {
        return base.Channel.forwardWorkflowRequest(in0, in1, in2, in3, in4);
    }

    public System.Threading.Tasks.Task<string> forwardWorkflowRequestAsync(int in0, string in1, string in2, int in3, string in4)
    {
        return base.Channel.forwardWorkflowRequestAsync(in0, in1, in2, in3, in4);
    }

    public WorkflowRequestInfo[] getToBeReadWorkflowRequestList(int in0, int in1, int in2, int in3, ArrayOfString in4, bool in5)
    {
        return base.Channel.getToBeReadWorkflowRequestList(in0, in1, in2, in3, in4, in5);
    }

    public System.Threading.Tasks.Task<WorkflowRequestInfo[]> getToBeReadWorkflowRequestListAsync(int in0, int in1, int in2, int in3, ArrayOfString in4, bool in5)
    {
        return base.Channel.getToBeReadWorkflowRequestListAsync(in0, in1, in2, in3, in4, in5);
    }

    public WorkflowRequestInfo[] getBeRejectWorkflowRequestList(int in0, int in1, int in2, int in3, ArrayOfString in4)
    {
        return base.Channel.getBeRejectWorkflowRequestList(in0, in1, in2, in3, in4);
    }

    public System.Threading.Tasks.Task<WorkflowRequestInfo[]> getBeRejectWorkflowRequestListAsync(int in0, int in1, int in2, int in3, ArrayOfString in4)
    {
        return base.Channel.getBeRejectWorkflowRequestListAsync(in0, in1, in2, in3, in4);
    }

    public int getCCWorkflowRequestCount(int in0, ArrayOfString in1)
    {
        return base.Channel.getCCWorkflowRequestCount(in0, in1);
    }

    public System.Threading.Tasks.Task<int> getCCWorkflowRequestCountAsync(int in0, ArrayOfString in1)
    {
        return base.Channel.getCCWorkflowRequestCountAsync(in0, in1);
    }

    public int getAllWorkflowRequestCount(int in0, ArrayOfString in1)
    {
        return base.Channel.getAllWorkflowRequestCount(in0, in1);
    }

    public System.Threading.Tasks.Task<int> getAllWorkflowRequestCountAsync(int in0, ArrayOfString in1)
    {
        return base.Channel.getAllWorkflowRequestCountAsync(in0, in1);
    }

    public int getDoingWorkflowRequestCount(int in0, ArrayOfString in1, bool in2)
    {
        return base.Channel.getDoingWorkflowRequestCount(in0, in1, in2);
    }

    public System.Threading.Tasks.Task<int> getDoingWorkflowRequestCountAsync(int in0, ArrayOfString in1, bool in2)
    {
        return base.Channel.getDoingWorkflowRequestCountAsync(in0, in1, in2);
    }

    public WorkflowRequestInfo[] getForwardWorkflowRequestList(int in0, int in1, int in2, int in3, ArrayOfString in4)
    {
        return base.Channel.getForwardWorkflowRequestList(in0, in1, in2, in3, in4);
    }

    public System.Threading.Tasks.Task<WorkflowRequestInfo[]> getForwardWorkflowRequestListAsync(int in0, int in1, int in2, int in3, ArrayOfString in4)
    {
        return base.Channel.getForwardWorkflowRequestListAsync(in0, in1, in2, in3, in4);
    }

    public WorkflowRequestInfo[] getMyWorkflowRequestList(int in0, int in1, int in2, int in3, ArrayOfString in4)
    {
        return base.Channel.getMyWorkflowRequestList(in0, in1, in2, in3, in4);
    }

    public System.Threading.Tasks.Task<WorkflowRequestInfo[]> getMyWorkflowRequestListAsync(int in0, int in1, int in2, int in3, ArrayOfString in4)
    {
        return base.Channel.getMyWorkflowRequestListAsync(in0, in1, in2, in3, in4);
    }

    public int getMyWorkflowRequestCount(int in0, ArrayOfString in1)
    {
        return base.Channel.getMyWorkflowRequestCount(in0, in1);
    }

    public System.Threading.Tasks.Task<int> getMyWorkflowRequestCountAsync(int in0, ArrayOfString in1)
    {
        return base.Channel.getMyWorkflowRequestCountAsync(in0, in1);
    }

    public ArrayOfString getWorkflowNewFlag(ArrayOfString in0, string in1)
    {
        return base.Channel.getWorkflowNewFlag(in0, in1);
    }

    public System.Threading.Tasks.Task<ArrayOfString> getWorkflowNewFlagAsync(ArrayOfString in0, string in1)
    {
        return base.Channel.getWorkflowNewFlagAsync(in0, in1);
    }

    public void writeWorkflowReadFlag(string in0, string in1)
    {
        base.Channel.writeWorkflowReadFlag(in0, in1);
    }

    public System.Threading.Tasks.Task writeWorkflowReadFlagAsync(string in0, string in1)
    {
        return base.Channel.writeWorkflowReadFlagAsync(in0, in1);
    }

    public int getCreateWorkflowTypeCount(int in0, ArrayOfString in1)
    {
        return base.Channel.getCreateWorkflowTypeCount(in0, in1);
    }

    public System.Threading.Tasks.Task<int> getCreateWorkflowTypeCountAsync(int in0, ArrayOfString in1)
    {
        return base.Channel.getCreateWorkflowTypeCountAsync(in0, in1);
    }

    public WorkflowRequestLog[] getWorkflowRequestLogs(string in0, string in1, int in2, int in3, int in4)
    {
        return base.Channel.getWorkflowRequestLogs(in0, in1, in2, in3, in4);
    }

    public System.Threading.Tasks.Task<WorkflowRequestLog[]> getWorkflowRequestLogsAsync(string in0, string in1, int in2, int in3, int in4)
    {
        return base.Channel.getWorkflowRequestLogsAsync(in0, in1, in2, in3, in4);
    }

    public bool deleteRequest(int in0, int in1)
    {
        return base.Channel.deleteRequest(in0, in1);
    }

    public System.Threading.Tasks.Task<bool> deleteRequestAsync(int in0, int in1)
    {
        return base.Channel.deleteRequestAsync(in0, in1);
    }

    public string getUserId(string in0, string in1)
    {
        return base.Channel.getUserId(in0, in1);
    }

    public System.Threading.Tasks.Task<string> getUserIdAsync(string in0, string in1)
    {
        return base.Channel.getUserIdAsync(in0, in1);
    }

    public WorkflowRequestInfo[] getDoingWorkflowRequestList(int in0, int in1, int in2, int in3, ArrayOfString in4, bool in5)
    {
        return base.Channel.getDoingWorkflowRequestList(in0, in1, in2, in3, in4, in5);
    }

    public System.Threading.Tasks.Task<WorkflowRequestInfo[]> getDoingWorkflowRequestListAsync(int in0, int in1, int in2, int in3, ArrayOfString in4, bool in5)
    {
        return base.Channel.getDoingWorkflowRequestListAsync(in0, in1, in2, in3, in4, in5);
    }

    public virtual System.Threading.Tasks.Task OpenAsync()
    {
        return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action<System.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndOpen));
    }

    private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration)
    {
        if ((endpointConfiguration == EndpointConfiguration.WorkflowServiceHttpPort))
        {
            System.ServiceModel.BasicHttpBinding result = new System.ServiceModel.BasicHttpBinding();
            result.MaxBufferSize = int.MaxValue;
            result.ReaderQuotas = System.Xml.XmlDictionaryReaderQuotas.Max;
            result.MaxReceivedMessageSize = int.MaxValue;
            result.AllowCookies = true;
            return result;
        }
        throw new System.InvalidOperationException(string.Format("找不到名称为“{0}”的终结点。", endpointConfiguration));
    }

    private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration)
    {
        if ((endpointConfiguration == EndpointConfiguration.WorkflowServiceHttpPort))
        {
            return new System.ServiceModel.EndpointAddress("http://192.168.80.66/services/WorkflowService");
        }
        throw new System.InvalidOperationException(string.Format("找不到名称为“{0}”的终结点。", endpointConfiguration));
    }

    private static System.ServiceModel.Channels.Binding GetDefaultBinding()
    {
        return WorkflowServicePortTypeClient.GetBindingForEndpoint(EndpointConfiguration.WorkflowServiceHttpPort);
    }

    private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
    {
        return WorkflowServicePortTypeClient.GetEndpointAddress(EndpointConfiguration.WorkflowServiceHttpPort);
    }

    public enum EndpointConfiguration
    {

        WorkflowServiceHttpPort,
    }
}